﻿
using hentity;
using System;
namespace hentity {
    public abstract class AbsCoreStock : BaseEntity
    {
        //托盘类型，大托盘，高托盘，长托盘，等用于分配货位时使用，
        //不同托盘类型在入库存储过程中对应的不同算法
        //public int? locType { get; set; }
         
        public int locId { get; set; }

        public int locIndex { get; set; }
        public string boxCode { get; set; }
        /// <summary>
        /// 库外0，入库中1，库存2，出库中3,移库中4,出库完成-1
        /// </summary>
        public int status { get; set; }
        public int locked { get; set; }
        public DateTime? createTime { get; set; }
        public DateTime? changeTime { get; set; }

        }

    public enum StockStatus {
        编辑 = 1, 库外 = 2, 移动中 = 5, 盘库中 = 7, 库存 = 9, 删除 = -1
    }
}